package com.wzweb.entity;

import java.sql.ResultSet;

import com.wzweb.dao.util.DBParse;

public class ItemInfoParse implements DBParse {
	@Override
	public Object parseEntity(ResultSet rs)throws Exception {
		ItemInfo itemInfo=new ItemInfo();
		itemInfo.setItemId(rs.getInt("id"));
		itemInfo.setModlue_id(rs.getInt("modlue_id"));
		itemInfo.setTitle(rs.getString("title"));
		itemInfo.setShowImg(rs.getString("show_img"));
		itemInfo.setShowLogo(rs.getString("showLogo"));
		itemInfo.setProducer(rs.getString("producer"));
		itemInfo.setPublishedDate(rs.getString("publishedDate"));
		itemInfo.setVideoId(rs.getString("videoId"));
		itemInfo.setImages(rs.getString("images"));
		return itemInfo;
	}
}
